package mysql

import (
	"onerk4/zk1/global"
	"onerk4/zk1/model"
)

func ShowUserByMobile(mobile string) (result *model.User, err error) {
	err = global.DB.Where("mobile = ?", mobile).Limit(1).Find(&result).Error
	return
}
